package com.itheima.test5case1;

public class Test {
    public static void main(String[] args) {
        //两个抽奖箱
        MyThread t1=new MyThread();
        MyThread t2=new MyThread();
        //设置名字
        t1.setName("抽奖箱1");
        t2.setName("抽奖箱2");
        //启动线程
        t1.start();
        t2.start();
    }
}
